package adminRequest

type DetailsRequest struct {
	Id int64 `form:"id" json:"id" validate:"required"`
}

type AddUserRequest struct {
	Username string `form:"username" json:"username" validate:"required"`
	Nickname string `form:"nickname" json:"nickname" validate:"required"`
	Mobile   string `form:"mobile" json:"mobile" validate:"required"`
	RoleId   int64  `form:"role_id" json:"role_id" validate:""`
	Password string `form:"password" json:"password" validate:"required"`
}

type EditUserRequest struct {
	AddUserRequest
	Id int `form:"id" json:"id" validate:"required"`
}
